﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApplication1.Class.Bean
{
    public class SearchField
    {
        
        public const string SUP_A = ">";
        public const string INF_A = "<";
        public const string EGAL_A = "=";
        public const string DIFF_A = "<>";
        public const string SUPP_OU_EGAL_A = "=>";
        public const string INF_OU_EGAL_1 = "<=";

        private string comparator;
        private string fieldName;
        private object valueField;

        public object ValueField
        {
            get { return valueField; }
            set { valueField = value; }
        }
        public string FieldName
        {
            get { return fieldName; }
            set { fieldName = value; }
        }
        public string Comparator
        {
            get { return comparator; }
            set { comparator = value; }
        }


        public SearchField(String NomChamps, object valueChamps , String comparateur)
        {
            this.FieldName = NomChamps;
            this.ValueField = valueChamps;
            this.Comparator = comparateur;
        }
    }
}
